package pers.vic.practice.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pers.vic.boot.base.web.GlobalExceptionHandler;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-04-12 16:57
 */
@Configuration
public class ExceptionConfig {

    @Bean
    public GlobalExceptionHandler globalExceptionHandler(){
        return new GlobalExceptionHandler();
    }
}
